﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.DOM
{
    #region Using Statements

    using System;

    #endregion

    public class DOMTimeStamp
    {
        public DOMTimeStamp()
        {
            Value = DateTime.Now.ToBinary();
        }

        public long Value { get; set; }

        public override string ToString()
        {
            return String.Format("DOMTimeStamp[{0}]",
                DateTime.FromFileTime(Value).ToString());
        }
    }
}
